n = input().split()
print(*n[2::3])
